module Base
{
	vehicle fhqH1_Offroad
    {
        template! = fhqH1Wagon,

        model
        {
            file = fhqH1Body,
            scale = 1.8200,
            offset = 0.0000 0.0000 0.0549,
        }

        skin
        {
            texture = Vehicles/vehicle_fhqH1_shell,
        }

        textureMask = Vehicles/vehicle_fhqH1_mask,
        textureLights = Vehicles/vehicle_fhqH1_lights,
        textureDamage1Overlay = Vehicles/Veh_Blood_Mask,
        textureDamage2Overlay = Vehicles/Veh_Blood_Hvy,
        textureDamage1Shell = Vehicles/Veh_Damage1,
        textureDamage2Shell = Vehicles/Veh_Damage2,
        textureRust = Vehicles/Veh_Rust,

        wheel FrontLeft
        {
            front = true,
            offset = 0.4121 -0.0257 0.7637,
            radius = 0.20f,
            width = 0.4f,
        }

        wheel FrontRight
        {
            front = true,
            offset = -0.4121 -0.0273 0.7637,
            radius = 0.20f,
            width = 0.4f,
        }

        wheel RearLeft
        {
            front = false,
            offset = 0.4121 -0.0273 -0.7582,
            radius = 0.20f,
            width = 0.4f,
        }

        wheel RearRight
        {
            front = false,
            offset = -0.4121 -0.0273 -0.7582,
            radius = 0.20f,
            width = 0.4f,
        }

        area TireFrontLeft
        {
            xywh = 0.7253 0.8187 0.4396 0.4396,
        }

        area TireFrontRight
        {
            xywh = -0.7253 0.8187 0.4396 0.4396,
        }

        area TireRearLeft
        {
            xywh = 0.7253 -0.7253 0.4396 0.4396,
        }

        area TireRearRight
        {
            xywh = -0.7253 -0.7253 0.4396 0.4396,
        }
		
		part GloveBox
		{
			model Bullbar
			{
				file = fhqH1Bullbar,
			}
			
			model Rooflights
			{
				file = fhqH1Rooflights,
			}
			
			model RoofRack
			{
				file = fhqH1RoofRack,
			}
		}

        extents = 1.0110 0.6593 2.1429,
        physicsChassisShape = 1.0110 0.6593 2.1429,
        centerOfMassOffset = 0.0000 0.3407 0.0000,
        shadowExtents = 1.0228 2.1889,
        shadowOffset = 0.0000 0.0000,

        attachment trailer
        {
            offset = 0.0000 0.0961 -1.1173,
            rotate = 0.0000 0.0000 0.0000,
            zoffset = -1.0000,
        }

        attachment trailerfront
        {
            offset = 0.0000 0.0950 1.0184,
            rotate = 0.0000 0.0000 0.0000,
            zoffset = 1.0000,
        }
    }
}
